// -----------------------------
// Author: 		Dhaenens Gert 
// Creation: 	12/6/2014 7:52:23 PM				
// -----------------------------

#ifndef _DxLibTypeDef_h
#define _DxLibTypeDef_h

#ifdef DXLIB_EXPORTS
#	define DXLIB		__declspec(dllexport)
#	define DXLIBEXT		
#else
#	define DXLIB		__declspec(dllimport)
#	define DXLIBEXT		extern
#endif

#define DXLIBAPI		DXLIBEXT DXLIB

/* Define Check */
#ifndef _DXLIB_NO_DEFINES
#	ifdef _UNICODE
typedef char				Char;
typedef wchar_t				WChar;
typedef wchar_t				TChar;
#	else
typedef char				Char;
typedef wchar_t				WChar;
typedef char				TChar;
#	endif

typedef __int8				Int8;
typedef __int16				Int16;
typedef __int32				Int32;
typedef __int64				Int64;

typedef unsigned __int8		UInt8;
typedef unsigned __int16	UInt16;
typedef unsigned __int32	UInt32;
typedef unsigned __int64	UInt64;

typedef float				Float;
typedef double				Double;
typedef bool				Bool;
typedef unsigned char		Byte;

#if defined _WIN64
typedef unsigned __int64	SizeT;
#else
typedef unsigned __int32	SizeT;
#endif
#endif

#endif